// 空奖项
export const EMPTY_VALUE_LIST = [{
    index: 1,
    text: '开心每一天',
    pic: 'one',
}, {
    index: 3,
    text: '调皮捣蛋',
    pic: 'two',
}, {
    index: 5,
    text: '奥利给',
    pic: 'three',
}, {
    index: 7,
    text: '么么哒',
    pic: 'four',
}];

// 抽奖活动状态
export const LOTTERY_ACTIVITY_STATE = {};

// 抽奖活动类型
export const LOTTERY_ACTIVITY_TYPE = {
    wheel: 'wheel', // 大转盘
    flip: 'flip', // 翻牌抽奖
    fruit: 'fruit', // 水果机
};

// 抽奖活动类型名
export const LOTTERY_ACTIVITY_TYPE_NAME = {
    [LOTTERY_ACTIVITY_TYPE.wheel]: '幸运大转盘',
    [LOTTERY_ACTIVITY_TYPE.flip]: '翻一翻幸运牌',
    [LOTTERY_ACTIVITY_TYPE.fruit]: '幸运九宫格',
};

// 抽奖活动类型奖品规则
export const LOTTERY_ACTIVITY_TYPE_RULE = {
    [LOTTERY_ACTIVITY_TYPE.wheel]: {
        min: 4,
        max: 7,
    },
    [LOTTERY_ACTIVITY_TYPE.flip]: {
        min: 1,
        max: 7,
    },
    [LOTTERY_ACTIVITY_TYPE.fruit]: {
        min: 4,
        max: 7,
    },
};

// 抽奖活动中奖率
export const LOTTERY_WIN_RATE = {
    hard: 10,
    normal: 50,
    easy: 90,
    custom: 100,
};

export const LOTTERY_WIN_RATE_NAME = {
    [LOTTERY_WIN_RATE.easy]: '易',
    [LOTTERY_WIN_RATE.normal]: '中',
    [LOTTERY_WIN_RATE.hard]: '难',
    [LOTTERY_WIN_RATE.custom]: '自定义',
};
